<?php
namespace App\Models\Base;

use Illuminate\Database\Eloquent\Model;

class BaseModel extends Model
{
    public static function getPresents() {
        return [
            0 => '无',
            1 => '有',
        ];
    }
    public static function getShowHide() {
        return [
            0 => '隐藏',
            1 => '可见',
        ];
    }
    public static function getTypes(): array {
        return [
            1 => '入库',
            2 => '出库',
            3 => '物流询价',
            4 => '寄钥匙',
            5 => '配钥匙',
            6 => '物品回寄',
            7 => '汽车维修',
        ];
    }
    public static function getStates(): array {
        return [
            0 => '待处理',
            1 => '已完成',
            2 => '处理中', // 待发货
            3 => '已发货',
            4 => '运输中', // 待收货
            5 => '已收货',
        ];
    }
}
